Specifying behavioral semantics of UML diagrams through graph transformations
نویسندگان
چکیده
The Unified Modeling Language (UML) has been widely accepted as a standard for modeling software systems from various perspectives. The intuitive notations of UML diagrams greatly improve the communication among developers. However, the lack of a formal semantics makes it difficult to automate analysis and verification. This paper offers a graphical yet formal approach to specifying the behavioral semantics of statechart diagrams using graph transformation techniques. It supports many advanced features of statecharts, such as composite states, firing priority, history, junction, and choice. In our approach, a graph grammar is derived automatically from a state machine to summarize the hierarchy of states. Based on the graph grammar, the execution of a set of non-conflict state transitions is interpreted by a sequence of graph transformations. This facilitates verifying a design model against system requirements. To demonstrate our approach, we present a case study on a toll-gate system. 2008 Elsevier Inc. All rights reserved.
منابع مشابه
Interpreter Writing Using Graph Transformations
This paper introduces a UML-based approach for specifying model transformations. The technique is based on graph transformations, where UML class diagrams are used to represent the graph grammars of the input and the output of the transformations, and the transformations are represented as explicitly sequenced elementary rewriting operations. The paper discusses the visual language designed for...
متن کاملState Diagrams in Uml: a Formal Semantics Using Graph Transformations or Diagrams Are Nice, but Graphs Are worth Their Price
We show how to transform UML (Uniied Modeling Language) state diagrams into graphs by making explicit the intended semantics of the diagram. The process of state expansion in nested state diagrams is explained by graph transformations in three steps: (1) adding boundary nodes introducing a precise interface for the state to be expanded, (2) expanding the state, and (3) removing the boundary nod...
متن کاملA UML-based Graph Transformation Approach for Implementing Domain-Specific Model Transformations
This paper introduces a UML-based approach for specifying model transformations. The technique is based on graph transformations, where UML class diagrams are used to represent the graph grammars of the input and the output of the transformations, and the transformations are represented as explicitly sequenced elementary rewriting operations. The paper discusses the visual language designed for...
متن کاملTowards Dynamic Meta Modeling of UML Extensions: An Extensible Semantics for UML Sequence Diagrams
The Unified Modeling Language (UML) still lacks a formal and commonly agreed specification of its semantics that also accounts for UML’s built-in semantic variation points and extension mechanisms. The semantics specification of such extensions must be formally integrated and consistent with the standard UML semantics without changing the latter. Feasible semantics approaches must thus allow ad...
متن کاملStrengthening the Semantics of UML Collaboration Diagrams
A serious weakness of the UML is the lack of appropriate means for specifying the semantics of operations in a class diagram and the interpretation of actions on a statechart diagram. As required in the corresponding request for proposals [11], such specification should describe the preand postconditions of operations and actions, their effect on the current state, as well as the calls or signa...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Journal of Systems and Software
دوره 82 شماره
صفحات -
تاریخ انتشار 2009